Automatic date on cell value add | excel | VBA | excel interview question #vba #date #custom #viral

2023-02-13 7

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("B:B")) Is Nothing Then
Target.Offset(0, 4).Value = Date
End If
End Sub

Free Traffic Exchange